package org.mc.response.es;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by luoxf on 2018/5/29.
 */
@ApiModel(value = "账户信息")
@Data
public class AccountDTO implements Serializable {

    private Long id;

    @ApiModelProperty(value = "账号")
    private Long accountNo;

    @ApiModelProperty(value = "余额")
    private Long balance;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "名称")
    private String name;

}
